﻿using System;
namespace Pay.DTO
{
	/// <summary>
	/// 单笔订单退款申请
	/// </summary>
	public class klt_gateway_refund
	{
		/// <summary>
		/// 网关联机退款接口版本
		/// </summary>
		public string version { get { return "v2.3"; } }
		/// <summary>
		/// 签名类型
		/// </summary>
		public string signType { get; set; }
		/// <summary>
		/// 商户号
		/// </summary>
		public string merchantId { get; set; }
		/// <summary>
		/// 商户订单号
		/// </summary>
		public string orderNo { get; set; }
		/// <summary>
		/// 退款金额
		/// </summary>
		public int refundAmount { get; set; }
		/// <summary>
		/// 商户退款订单号
		/// </summary>
		public string mchtRefundOrderNo { get; set; }
		/// <summary>
		/// 商户订单提交时间
		/// </summary>
		public string orderDatetime { get; set; }
		/// <summary>
		/// 签名字符串
		/// </summary>
		public string signMsg { get; set; }
	}
	/// <summary>
	/// 单笔订单退款申请返回
	/// </summary>
	public class klt_gateway_refund_result
	{
		/// <summary>
		/// 网关联机退款接口版本
		/// </summary>
		public string version { get; set; }
		/// <summary>
		/// 签名类型
		/// </summary>
		public string signType { get; set; }
		/// <summary>
		/// 商户号
		/// </summary>
		public string merchantId { get; set; }
		/// <summary>
		/// 商户订单号
		/// </summary>
		public string orderNo { get; set; }
		/// <summary>
		/// 商户订单金额
		/// </summary>
		public int orderAmount { get; set; }
		/// <summary>
		/// 商户订单提交时间
		/// </summary>
		public string orderDatetime { get; set; }
		/// <summary>
		/// 退款金额
		/// </summary>
		public int refundAmount { get; set; }
		/// <summary>
		/// 退款结果 申请成功：20  其他为失败
		/// </summary>
		public string refundResult { get; set; }
		/// <summary>
		/// 商户退款订单号
		/// </summary>
		public string mchtRefundOrderNo { get; set; }
		/// <summary>
		/// 退款受理时间
		/// </summary>
		public string refundDatetime { get; set; }
		/// <summary>
		/// 签名字符串
		/// </summary>
		public string signMsg { get; set; }
	}
}
